package Clases;

public class User {
	
	protected String email;
	protected String name;
	protected String second_name;
	protected String city;
	protected String birth_date;
	protected String password;
	
	
	public User(String email, String password, String name, String sname, String city, String bdate){
		this.email=email;
		this.name=name;
		this.second_name=sname;
		this.city=city;
		this.birth_date=bdate;
		this.password=password;
	}
	
	
	// SETS
	
	public void setName(String n){
		name = n;
	}
	
	public void setSecondName(String sn){
		second_name=sn; 
	}
	
	public void setCity(String c){
		city = c;
	}
	
	public void setBirthDate(String bd){
		birth_date=bd;
	}
	
	public void setPassword(String p){
		password=p;
	}
	
	
	// GETS
	
	public String getEmail(){
		return email;
	}
	
	public String getName(){
		return name; 
	}
	
	public String getSecondName(){
		return second_name;
	}

	public String getCity(){
		return city;
	}
	
	public String getBirthDate(){
		return birth_date;
	}
	
	public String getPassword(){
		return password;
	}
	
	
	
	
	public String toString(){
		String s= getEmail()+" "+getName()+" "+getSecondName()+"\n"; 
		return s;
	}
	
	public void edit_profile(){
		//TODO
	}
	public void view_contacts(){
		//TODO
	}
	public void write_message(){
		//TODO
	}
	public void add_contact(){
		//TODO
	}
	public void search_users(){
		//TODO
	}
	public void log(){
		//TODO
	}

	
}




